package com.restaurant.application.indexes.reservationlist.support;

import com.nebutown.base.data.ViewUpdate;
import com.nebutown.supporthome.AbstractImpl;
import com.nebutown.supporthome.CmdCapsule;
import com.restaurant.application.indexes.reservationlist.AssistReservationList;
import com.restaurant.application.indexes.reservationlist.mysql.ReservationListCriteria;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractAssistReservationList extends AbstractImpl implements AssistReservationList {

    private static final Logger logger = LoggerFactory.getLogger(AssistReservationList.class);

    public final Class<?> getEffectiveInterface() {
        return AssistReservationList.class;
    }

    public Logger getLogger() {
        return logger;

    }
    public static CmdCapsule CMD_SEARCH = new CmdCapsule("search", 0, ReservationListCriteria.class);
    public abstract ViewUpdate search(ReservationListCriteria search, int[] seq);

    public static CmdCapsule CMD_MODIFY = new CmdCapsule("modify", 1, null);

    public abstract ViewUpdate modify(int[] seq);
}
